Optimal. Leaf size=93 \[ \frac {35 x}{16 b^4}-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac {35 \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 b^{9/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 93, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {28, 294, 327,
211} \begin {gather*} -\frac {35 \sqrt {a} \text {ArcTan}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 b^{9/2}}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {x^7}{6 b \left (a+b x^2\right )^3}+\frac {35 x}{16 b^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 211
Rule 294
Rule 327
Rubi steps
\begin {align*} \int \frac {x^8}{\left (a^2+2 a b x^2+b^2 x^4\right )^2} \, dx &=b^4 \int \frac {x^8}{\left (a b+b^2 x^2\right )^4} \, dx\\ &=-\frac {x^7}{6 b \left (a+b x^2\right )^3}+\frac {1}{6} \left (7 b^2\right ) \int \frac {x^6}{\left (a b+b^2 x^2\right )^3} \, dx\\ &=-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}+\frac {35}{24} \int \frac {x^4}{\left (a b+b^2 x^2\right )^2} \, dx\\ &=-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}+\frac {35 \int \frac {x^2}{a b+b^2 x^2} \, dx}{16 b^2}\\ &=\frac {35 x}{16 b^4}-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac {(35 a) \int \frac {1}{a b+b^2 x^2} \, dx}{16 b^3}\\ &=\frac {35 x}{16 b^4}-\frac {x^7}{6 b \left (a+b x^2\right )^3}-\frac {7 x^5}{24 b^2 \left (a+b x^2\right )^2}-\frac {35 x^3}{48 b^3 \left (a+b x^2\right )}-\frac {35 \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 b^{9/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 77, normalized size = 0.83 \begin {gather*} \frac {105 a^3 x+280 a^2 b x^3+231 a b^2 x^5+48 b^3 x^7}{48 b^4 \left (a+b x^2\right )^3}-\frac {35 \sqrt {a} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{16 b^{9/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 62, normalized size = 0.67
method | result | size |
default | \(\frac {x}{b^{4}}-\frac {a \left (\frac {-\frac {29}{16} b^{2} x^{5}-\frac {17}{6} a b \,x^{3}-\frac {19}{16} a^{2} x}{\left (b \,x^{2}+a \right )^{3}}+\frac {35 \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \sqrt {a b}}\right )}{b^{4}}\) | \(62\) |
risch | \(\frac {x}{b^{4}}+\frac {\frac {29}{16} a \,b^{2} x^{5}+\frac {17}{6} a^{2} b \,x^{3}+\frac {19}{16} a^{3} x}{b^{4} \left (b \,x^{2}+a \right ) \left (b^{2} x^{4}+2 a b \,x^{2}+a^{2}\right )}+\frac {35 \sqrt {-a b}\, \ln \left (-\sqrt {-a b}\, x -a \right )}{32 b^{5}}-\frac {35 \sqrt {-a b}\, \ln \left (\sqrt {-a b}\, x -a \right )}{32 b^{5}}\) | \(114\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.54, size = 90, normalized size = 0.97 \begin {gather*} \frac {87 \, a b^{2} x^{5} + 136 \, a^{2} b x^{3} + 57 \, a^{3} x}{48 \, {\left (b^{7} x^{6} + 3 \, a b^{6} x^{4} + 3 \, a^{2} b^{5} x^{2} + a^{3} b^{4}\right )}} - \frac {35 \, a \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \, \sqrt {a b} b^{4}} + \frac {x}{b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 268, normalized size = 2.88 \begin {gather*} \left [\frac {96 \, b^{3} x^{7} + 462 \, a b^{2} x^{5} + 560 \, a^{2} b x^{3} + 210 \, a^{3} x + 105 \, {\left (b^{3} x^{6} + 3 \, a b^{2} x^{4} + 3 \, a^{2} b x^{2} + a^{3}\right )} \sqrt {-\frac {a}{b}} \log \left (\frac {b x^{2} - 2 \, b x \sqrt {-\frac {a}{b}} - a}{b x^{2} + a}\right )}{96 \, {\left (b^{7} x^{6} + 3 \, a b^{6} x^{4} + 3 \, a^{2} b^{5} x^{2} + a^{3} b^{4}\right )}}, \frac {48 \, b^{3} x^{7} + 231 \, a b^{2} x^{5} + 280 \, a^{2} b x^{3} + 105 \, a^{3} x - 105 \, {\left (b^{3} x^{6} + 3 \, a b^{2} x^{4} + 3 \, a^{2} b x^{2} + a^{3}\right )} \sqrt {\frac {a}{b}} \arctan \left (\frac {b x \sqrt {\frac {a}{b}}}{a}\right )}{48 \, {\left (b^{7} x^{6} + 3 \, a b^{6} x^{4} + 3 \, a^{2} b^{5} x^{2} + a^{3} b^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.26, size = 131, normalized size = 1.41 \begin {gather*} \frac {35 \sqrt {- \frac {a}{b^{9}}} \log {\left (- b^{4} \sqrt {- \frac {a}{b^{9}}} + x \right )}}{32} - \frac {35 \sqrt {- \frac {a}{b^{9}}} \log {\left (b^{4} \sqrt {- \frac {a}{b^{9}}} + x \right )}}{32} + \frac {57 a^{3} x + 136 a^{2} b x^{3} + 87 a b^{2} x^{5}}{48 a^{3} b^{4} + 144 a^{2} b^{5} x^{2} + 144 a b^{6} x^{4} + 48 b^{7} x^{6}} + \frac {x}{b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.37, size = 65, normalized size = 0.70 \begin {gather*} -\frac {35 \, a \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{16 \, \sqrt {a b} b^{4}} + \frac {x}{b^{4}} + \frac {87 \, a b^{2} x^{5} + 136 \, a^{2} b x^{3} + 57 \, a^{3} x}{48 \, {\left (b x^{2} + a\right )}^{3} b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 86, normalized size = 0.92 \begin {gather*} \frac {x}{b^4}+\frac {\frac {19\,a^3\,x}{16}+\frac {17\,a^2\,b\,x^3}{6}+\frac {29\,a\,b^2\,x^5}{16}}{a^3\,b^4+3\,a^2\,b^5\,x^2+3\,a\,b^6\,x^4+b^7\,x^6}-\frac {35\,\sqrt {a}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{16\,b^{9/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________